package com.example.treeHole.service;

import com.example.treeHole.result.Result;
import com.example.treeHole.vo.NotificationMain;

import java.util.List;

public interface NotificationMainService {
    List<NotificationMain> findByType(String type);

    /**
     * 查询系统消息
     * @param type
     * @return
     */
    List<NotificationMain> findSysByType(String type);


    void approve(String articleId);

    void approve1(String articleId);
}
